|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.epiphan.vga2usb.Enum
com.epiphan.vga2usb.Enum.Int
com.epiphan.vga2usb.ScaleMode
Typesafe enumeration of scaling algorithms supported by the driver.
Field Summary | |
static ScaleMode |
Area
Yet another weighted average algorithm. |
static ScaleMode |
Bicubic
Bicubic algorithm. |
static ScaleMode |
BicubLin
Luma bicubic, chroma bilinear. |
static ScaleMode |
Bilinear
Bilinear algorithm. |
static ScaleMode |
Experimental
Experimental algorithm. |
static ScaleMode |
FastBilinear
Fast bilinear algorithm. |
static ScaleMode |
Lanczos
Lanczos algorithm. |
static ScaleMode |
NearestNeighbor
Nearest neighbor algorithm. |
static ScaleMode |
None
No scaling |
static ScaleMode |
Point
Yet another nearest neighbor algorithm. |
static ScaleMode |
Sinc
Sinc algorithm. |
static ScaleMode |
Spline
Natural bicubic spline algorithm. |
static ScaleMode |
WeightedAverage
Weighted average algorithm. |
Method Summary | |
int |
compareTo(int key)
Compares id of this object with the specified key for order. |
int |
compareTo(Object obj)
Compares this object with the specified object for order. |
String |
getDescription()
Returns the description of this object. |
static ScaleMode |
getScaleMode(int value)
Converts native scale mode value into a ScaleMode object. |
int |
getValue()
Gets the integer value associated with this object. |
int |
hashCode()
Returns the hashcode for this object. |
protected static int |
search(java.util.List list,
int key)
Searches the list for the specified enum object using the binary search algorithm. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ScaleMode Area
public static final ScaleMode Bicubic
public static final ScaleMode BicubLin
public static final ScaleMode Bilinear
public static final ScaleMode Experimental
public static final ScaleMode FastBilinear
public static final ScaleMode Lanczos
public static final ScaleMode NearestNeighbor
public static final ScaleMode None
public static final ScaleMode Point
public static final ScaleMode Sinc
public static final ScaleMode Spline
public static final ScaleMode WeightedAverage
Method Detail |
public static ScaleMode getScaleMode(int value)
value
- integer value that identifies the scale mode
ScaleMode
objectpublic int compareTo(int key)
key
- the key to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.Comparable
public int compareTo(Object obj)
compareTo
in interface Comparable
obj
- the Object to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.Comparable
public final int getValue()
public final int hashCode()
protected static int search(java.util.List list, int key)
list
- the list to searchkey
- the key to search for
public final String getDescription()
public final String toString()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |